import React from 'react'
import { View, Text, TextInput ,SafeAreaView} from 'react-native'
import ImagePicker from 'react-native-image-crop-picker'

export default function index() {
  const setting = async () => {
    alert('惦记了')
    const image = await ImagePicker.openPicker({
      width: 300,
      height: 400,
      cropping: true
    })
    console.log(image)
  }
  
  return (
    <SafeAreaView>
      <Text onPress={setting}>ahshda</Text>
      
    </SafeAreaView>
  )
}
